
<html>
<head>
	<title>Sign In</title>
	
	<style type="text/css">
		#outer {height: 400px; overflow: hidden; position: relative;}
		#outer[id] {display: table; position: static;}
		
		#middle {position: absolute; top: 30%;} /* for explorer only*/
		#middle[id] {display: table-cell; vertical-align: middle; width: 100%;}
		
		#inner {position: relative; top: -30%} /* for explorer only */
		/* optional: #inner[id] {position: static;} */
		
		/* just format */
		div.greenBorder {}
	</style>
</head>

<body>

<div id="outer" class="greenBorder">
	<div id="middle">

		<div id="inner" align="center" class="greenBorder">
			





	 
	    <% 
	
	 	if (request.getParameter("login_error")!=null) {
	 		
	 	%>
	      
	 			<font color="red">
	        Your login attempt was not successful, try again.<br/><br/>
	        Reason: ${SPRING_SECURITY_LAST_EXCEPTION.message}
	      </font>
	    <%
	 	}
	    %>
	 
	 
	 <form name="login" action="j_spring_security_check" method="POST">
            <table width="300" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr> 
                <td><table width="100%" border="0" cellspacing="1" cellpadding="5">
                    <tr> 
                        <td bgcolor="#888888" align="center"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><strong>Login</strong></font></td>

                    </tr>
                    <tr> 
                      <td bgcolor="#eeeeee"> <table width="100%" border="0" cellspacing="0" cellpadding="2">
                            <tr> 
                              <td align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">Username:</font></strong></td>
                              <td> <input name="j_username" type="text" size="11" value="${SPRING_SECURITY_LAST_USERNAME}"></td>
                            </tr>
                            <tr> 
                              <td align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Password:</strong></font></td>

                              <td> <input name="j_password" type="password" size="11"></td>
                            </tr>
                            <tr>
                              <td align="right">&nbsp;</td>
                              <td><input type="submit" value="Login" name="submit"></td>
                            </tr>
                          </table></td>
                    </tr>

                  </table></td>
              </tr>
            </table></form>
	 </div>
	 </div>
	 </div>
	  </body>
	</html>